package com.akk.module.avs.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

import java.util.Date;

@ApiModel(value = "预约办卡",description = "用户申请信息")
public class AvsYbAppoCard {
    private Long appoId;

    @NotBlank(message = "用户名不能为空")
    @ApiModelProperty(value = "用户名")
    private String username;

    @NotBlank(message = "地址不能为空")
    @ApiModelProperty(value = "居住地址")
    private String address;

    @NotBlank(message = "手机号不能为空")
    @ApiModelProperty(value = "联系手机号")
    private String phone;

    @NotBlank(message = "申请银行不能为空'")
    @ApiModelProperty(value = "申请银行")
    private String bank;

    private Integer status;

    private Date createDate;

    @NotBlank(message = "参数缺失")
    @ApiModelProperty(value = "AppId")
    private String appId;

    private String recommendPhone;

    private String recommendName;

    public String getRecommendPhone() {
        return recommendPhone;
    }

    public void setRecommendPhone(String recommendPhone) {
        this.recommendPhone = recommendPhone;
    }

    public String getRecommendName() {
        return recommendName;
    }

    public void setRecommendName(String recommendName) {
        this.recommendName = recommendName;
    }

    public Long getAppoId() {
        return appoId;
    }

    public void setAppoId(Long appoId) {
        this.appoId = appoId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getBank() {
        return bank;
    }

    public void setBank(String bank) {
        this.bank = bank == null ? null : bank.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId == null ? null : appId.trim();
    }
}